*,
::after,
::before {
    box-sizing: border-box;
}
*,
::after,
::before {
    box-sizing: inherit;
}

*{
    margin: 0;
    padding: 0;
}

/* *:hover{
    color: blue;
} */

section {
    display: block;
}

body {
    margin: 0;
    font-family: 楷体;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: rgb(229, 221, 221);
    height: 1300px;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

ul {
    display: block;
    list-style-type: none;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
    list-style-type: none;
}

li {
    display: block;
    text-align: -webkit-match-parent;
    font-size: medium;
}

.link {
    text-decoration: none;
    color: #212529;
    display: flex;
    width: 90px;
    font-size: medium;
    padding: 8px;
}

.menu {
    position: fixed;
    display: flex;
    width: 100%;
    height: 85px;
    font-size: 14px;
    background: rgb(245, 245, 245);
    z-index: 99;
    /* -webkit-transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease,-webkit-transform 300ms ease; */
    box-shadow: 0 0 10px -1px rgb(189, 187, 187);
}

.logo {
    width: 100px;
    height: 100%;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 10px;
    left: 10px;
}

.category {
    color: whitesmoke;
    background: rgb(245, 245, 245);
    cursor: pointer;
    display: flex;
    padding: 10px 15px;
}

.link:hover {
    background-color: rgb(182, 128, 128);
}

.box-title {
    color: rgb(60, 54, 54);
    cursor: pointer;
    justify-content: space-between;
    padding: 0 10px;
    height: 60px;
    /* opacity: .99;
    -webkit-transition: color .2s ease-out;
    transition: color .2s ease-out; */
    background: rgb(245, 245, 245);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box-title:hover {
    background-color: rgb(182, 128, 128);
}

.in-school:hover {
    color: rgb(141, 116, 191);
}

.out-school:hover {
    color: rgb(141, 116, 191);
}

.busy:hover {
    color: rgb(141, 116, 191);
}

.box-title .icon-qiehuan1x {
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease-in-out;
    position: relative;
    left: 10px;
    top: 10px;
}

.combobox:hover .icon-qiehuan1x {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.combobox .shift-3,
.combobox .shift-4,
.combobox .shift-5 {
    box-shadow: 0 0 0 -1px transparent;
    transition: all 0.5s ease-in-out;
    /* 过渡效果 */
    opacity: 0;
    z-index: 80;
}

.shift-3.opne {
    opacity: 1;
}

.shift-4.opne {
    opacity: 1;
}

.shift-5.open {
    opacity: 1;
}

.menu-section {
    display: flex;
    flex-grow: 0;
    flex-direction: row;
    list-style-type: none;
    justify-content: flex-end;
    padding-left: 0;
    margin-bottom: 0;
}

.menu-section.grow {
    flex-grow: 5;
}

.combobox-text {
    color: var(--color_h1);
    font-size: 12px;
    letter-spacing: .5px;
    justify-content: center;
    height: 25px;
    width: 100%;
    background-color: antiquewhite;
}

.combobox-text span {
    align-items: center;
    display: flex;
    justify-content: center;

}

.status-switch {
    display: flex;
    height: 90px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: whitesmoke;
}

.user-and-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0 10px;
    height: 60px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background-color: #f1f1f1;
    /* 头像背景颜色 */
    border-radius: 50%;
    /* 头像形状为圆形 */
    float: left;
    /* 头像浮动在左边 */
    margin-right: 15px;
    /* 头像和详细信息之间的间距 */
}

.header-body {
    background-image: url("../img/参考19e189f4f780ac39.jpg");
    /* color: white; */
    /* background: pink; */
    display: flex;
    align-items: stretch;
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 600px;
}

.header-body-order {
    width: 100%;
    height: 255px;
    background-image: url("../img/null3c3348d6ffe0c617.jpg");
    background-position: 0% 0%;
}

.header-body .container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
}

.container {
    width: 1140px;
    height: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container .row {
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 80px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    /* background-color: #212529;  */
}

.search-field {
    z-index: 20;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .35);
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: row;
    padding: 0;
    font-size: medium;
    margin: 15px;
}

.search_helper {
    position: absolute;
    top: 55px;
    width: 100%;
    background-color: rgb(180, 211, 223);
    overflow: hidden;
    display: none;
}

.item-seeker {
    position: relative;
    display: flex;
    /* flex-flow: row nowrap; */
    justify-content: space-between;
    align-items: stretch;
    background: antiquewhite;
    padding: 5px 0;
    border: 1px solid black;
    min-height: 46px;
    width: 500px;
}

.item-seeker-input {
    background: grey;
    margin: 0 0 0 5px;
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.item-seeker-input .real_input {
    width: 100%;
    border-radius: 4px;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.real_input input {
    width: 100%;
}

.btn {
    outline: 0;
    box-shadow: none;
    font-weight: 400px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: .6rem .75rem;
    line-height: 1;
    cursor: pointer;
}

.search-field.btn-box {
    width: 80px;
    height: 60px;
    margin: 0;
    font-size: 18px;
    z-index: 2;
}

.btn-search {
    background-color: grey;

}

.icon-icon_use_search {
    color: rgb(52, 25, 25);
}

.btn-box:hover {
    size: 150%;
    color: #52799f;
}

.content {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    color: rgb(52, 96, 108);
    width: 100%;
    height: 800px;
    background-color: rgb(245, 245, 245);
}

.content_header {
    z-index: 3;
    box-shadow: 0 10px 10px -5px rgb(100, 100, 100);
}

.order-container {
    display: flex;
    /* background-color: pink; */
}

.order-search {
    width: 40%;
}

.most-recent-order {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: left;
    /* padding: .4rem 0; */
    height: 100px;
    min-width: 1200px;
}

header {
    width: 400px;
    font-weight: bolder;
    font-size: 200%;
    margin-top: 30px;
}

.header-section {
    justify-self: flex-start;

}

.statusFilter {
    flex-direction: column;
    align-items: flex-start;
}

.status-line {
    height: 20px;
    margin: 9px;
}

.status-button {
    display: flex;
    height: 35px;
    width: 365px;
    justify-content: space-between;
}

.button-box {
    margin: 0 2px;
    background-color: rgb(38, 86, 99);
    color: white;
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 2px;
    text-align: center;
    align-items: center;
}

.button-box.active {
    background-color: rgb(100, 100, 100);
}

.button-box.active:hover {
    background-color: rgb(100, 100, 100);
}

.button-box:hover {
    background-color: rgb(25, 161, 135);
}

.button-box span {
    align-items: center;
}

.price-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 60px;
}

.price-filter div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 5px 0;
}

.price-filter div input {
    background: 0 0;
    border: 0 solid;
    border-bottom: 1px solid var(--color_border);
    outline: 0;
    color: #ea6100;
    font-weight: 700;
    margin: 0 10px;
}

.price-filter div h5 {
    font-size: 115%;
    margin: 4px;
}

.content-body {
    background-color: rgb(245, 245, 245);
    height: 820px;
}

.order-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 15px;
}

.orders {
    width: 1200px;
    margin: 15px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "listening-sell listening-buy";
}

.buttons button:hover,
.buttons .link:hover {
    box-shadow: 0 0 0 2px #221717;
}

.listening-sell,
.listening-sell_own{
    display: grid;
    width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: hidden;
    grid-template-rows: 120px 120px 120px 120px;
    grid-area: listening-sell;
}

.listening-buy,
.listening-buy_own {
    display: grid;
    width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: hidden;
    grid-template-rows: 120px 120px 120px 120px;
    grid-area:listening-buy;
}

/* .listening-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    grid-area: listening-header;
} */

.item {
    padding: 17px;
    transition: all .5s;
    display: grid;
    border-top: 1px solid #e4e4e4;
    grid-template-areas:
        "img name spec"
        "img count buttons"
        "img price buttons";
}

.item_own{
    /* padding: 17px; */
    transition: all .5s;
    display: grid;
    border-top: 1px solid #e4e4e4;
    grid-template-areas:
        "img name obtn_box"
        "img count obtn_box"
        "spec price obtn_box";
}

.item:nth-child(4n),
.item_own:nth-child(4n) {
    margin-left: 0;
}

.item:hover,
.item_own:hover {
    cursor: pointer;
    background-color: #f5f5f5;
}

.item img,
.item_own img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    grid-area: img;
    object-fit: contain;
}

.item .name,
.item_own .name {
    font-size: 18px;
    margin-right: 10px;
    color: #333;
    width: 300px;
    grid-area: name;
}

.item .price,
.item_own .price {
    font-size: 18px;
    color: firebrick;
    width: 100px;
    grid-area: price;
}

.item .price::before,
.item_own .price::before {
    content: "¥";
    font-size: 12px;
}

.item .spec,
.item_own .spec {
    width: 90px;
    color: #888;
    font-size: 14px;
    grid-area: spec;
}

.item .count,
.item_own .count {
    flex: 1;
    color: #aaa;
    grid-area: count;
}

.item.buttons-chat {
    display: flex;
    justify-content: space-between;
    grid-area: buttons-chat;
    width: 50px;
}

.item.buttons-chat {
    display: flex;
    justify-content: space-between;
    grid-area: buttons-chat;
    width: 50px;
}

/* .buttons {
    display: flex;
    margin-top: 40px;
} */

.order-content {
    display: grid;
    grid-template-columns: [sell] 1fr [buy] 1fr;
    grid-template-areas: "sell buy";
    margin: 0 -15px;
}

.sell_order {
    grid-area: sell;
}

.listing_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    max-width: 100vw;
}

.activate_padding {
    padding: 10px;
}

.order-type,.order-type_own {
    color: rgb(189, 187, 187);
    background: rgb(38, 86, 99);
    padding: 0 5px;
    height: 20px;
    width: 100px;
    border-radius: 3px;
    white-space: nowrap;
    text-align: center;
    padding-left: 6px;
    text-align: center;
    font-size: 15.5px;
}

.order-type_own{
    display: flex;
    height: 25px;
}

.order-type_own span{
    width: 100px;
}

.orderbtn_box{
    display: flex;
    width: 250px;
    height: 29px;
    margin-left: 100px;
    background: #212529;
}

.visible-btn,
.invisible-btn{
    margin-left: 3px;
    height: 25px;
    width: 125px;
    justify-content: flex-end;
    border-radius: 3px;
    cursor: pointer;
}

.visible-btn:hover,
.invisible-btn:hover{
    box-shadow: 0 0 0 2px #221717;
}

.order-type-box {
    width: 1200px;
    height: 25px;
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "order-type order-type";
}

.listing_actions {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    margin-left: auto;
    padding: 10px 15px;
}

.submit_btn{
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.submit_btn_add:hover{
   box-shadow: inset 0 0 0 2px #221717;
}

.submit_btn_add{
    width: 64px;
    height: 64px;
    padding-left: 3px;
    padding-top: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ea6100;
    border-radius: 50%;
    margin-left: 18px;
    font-size: 450%;
}

.submit_btn_text{
    color: #ea6100;
    font-size: 125%;
    margin-left: 10px;
}

.obtn_box{
    width: 150px;
    display: grid;
    height: 80%;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas: 
    "buyOrsell buyOrsell edit edit"
    "addOrdelete visible visible remove";
}

.bs_btn{
    grid-area: buyOrsell;
    width: 70px;
    margin-right: 5px;
}

.edit_btn{
    grid-area: edit;
    width: 70px;
}

.add_btn{
    grid-area: addOrdelete;
    margin-top: 3px;
    margin-right: 3px;
}

.visible_btn{
    grid-area: visible;
    margin-top: 3px;
    margin-right: 3px;
}

.remove_btn{
    grid-area: remove;
    margin-top: 3px;
    margin-right: 3px;
}

.close_btn{
    font-size: medium;
    width: 64px;
    height: 32px;
    background-color: brown;
    border-radius: 5px;
    text-align: center;
    color: #eed7d7;
    cursor: pointer;
    margin-left: 230px;
    margin-top: 3px;
    margin-bottom: 0;
}

.close_btn:hover{
    box-shadow: inset 0 0 0 2px #221717;
}

.submit_form{
    position: fixed;
    z-index: 200;
    width: 665px;
    top: 30%;
    left: 30%;
    box-shadow: 5px 5px  rgba(0, 0, 0, 0.5); 
    background-color: #d3cdcd;
    display: none;
}

.overlay{
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
}

.submit_title{
    font-size: 125%;
    height: 36px;
    width: 90px;
    margin-left: 4px; 
    margin-top: 6px;
    margin-bottom: 0;
}

#img_box{
    width: 225px;
    height: 200px;
    object-fit: contain;
    margin:auto;
}

.order-type_box_submit{
    width: 190px;
    height: 24px;
    margin-top: 2px;
    background-color: #888;
    border-radius: 3px;
    display: flex;
}

.bs_box_s ,
.bs_box_b{
    font-size:smaller;
    margin-top: 2px;
    cursor: pointer;
}

.order-type_box_submit span:hover{
    box-shadow: inset 0 0 0 2px #221717;
}

.order-visible_box_submit{
    width: 190px;
    height: 24px;
    margin-top: 2px;
    background-color: #888;
    border-radius: 3px;
    margin-left: 20px;
    display: flex;
}

.order_submit_btn{
    width: 70px;
    height: 26px;
    border-radius: 3px;
    background-color: #ea6100;
    cursor: pointer;
    margin-left: 320px;
}

.order_submit_btn:hover{
    box-shadow: inset 0 0 0 2px #221717;
}